<!DOCTYPE html>
<html perf-error="disktop/home/" ng-app="eleme" class="ng-scope">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <script src="{{asset('/admin/plugins/jQuery/jQuery-2.1.4.min.js')}}"></script>
    <title class="ng-binding" ng-bind="SEO.title">天下美食-网上订餐_外卖_天下订餐官网</title>

    <link rel="stylesheet" type="text/css" href="{{asset('home/disktop/css/index.css')}}" media="all">
</head>
<body class="hidesidebar whitebody" cute-title=""
      ng-class="{hidesidebar: layoutState &amp;&amp; layoutState.hideSidebar, smallbody: layoutState.smallBody, whitebody: layoutState.whiteBody}">

<div class="ng-scope" ng-view="" role="main">
    <div class="map ng-scope" ng-class="{mapmode: mapMode}">
        <div class="container mapcontainer">
            <div map-header="" class="map-header clearfix">
                <h1><a href="{{asset('')}}" ubt-click="1433"><img src="{{asset('home/disktop/images/map-logo.9a26ef.png')}}" alt="eleme"/></a></h1>
                <!-- ngIf: user.user_id -->
                @if(true)
                    <span class="map-header-right ng-scope" ng-if="user.user_id"><a class="ng-binding"
                                                                                    href="{{asset('')}}profile"
                                                                                    target="_blank" ubt-click="1440"><img
                                    src="{{asset('upload/user_images/1.jpg')}}"
                                    style="width: 30px; height: 30px; border-radius: 50%;"
                                    alt="鱼丸粗面0sui的头像"/> 鱼丸粗面0sui</a></span>
                    @else

                    <span ng-if="!user.user_id" class="map-header-right ng-scope"><a ubt-click="1430" target="_blank" ng-href="https://account.ele.me/register" href="https://account.ele.me/register">注册</a> <span>|</span> <a ubt-click="1431" ng-href="https://account.ele.me/login" href="https://account.ele.me/login">登录</a> <a ubt-click="1432" target="_blank" href="http://kaidian.ele.me/" class="btn-security btn-sm">我要开店</a></span>
            @endif
                <!-- end ngIf: user.user_id -->
                <!-- ngIf: !user.user_id -->
            </div>
            <div map-main="" map-mode="mapMode" class="map-main ng-isolate-scope" ng-class="{mapmode: mapMode}">
                <h2 class="map-logo"><img src="{{asset('home/disktop/images/map-logo-center.4eb348.png')}}"
                                          alt="eleme"/></h2>
                <div class="map-navbar clearfix hasuserinfo" ng-class="{hasuserinfo: $root.user.user_id}">
                    <div map-city="" hide-search-result="hideSearchResult" current-city="currentCity"
                         class="map-city ng-isolate-scope" map-mode="mapMode">
                        <a class="mapcity-current ng-binding" ng-bind="mapCity.current.name"
                           ng-click="mapCity.toggle($event)">北京</a>
                        <!-- ngIf: mapCity.showCities -->
                    </div>
                    <div map-search="" hide-search-result="hideSearchResult" current-city="currentCity"
                         map-mode="mapMode" class="map-search ng-isolate-scope" style ="margin-bottom:20px;">
                        <form class="mapsearch-inputbar ng-pristine ng-valid"
                              ng-submit="search.showSuggests($event, search.keyword)" method = 'get' action = "{{ url('place/{address}') }}">
                            <input type = 'hidden' name = 'city' class = 'hdcity' value = '北京'>
                            <input class="ng-pristine ng-valid" name = 'address' placeholder="请输入你的收货地址（写字楼，小区，街道或者学校）"
                                   ng-model="search.keyword" ng-keyup="search.showSuggests($event, search.keyword)"
                                   ng-keydown="search.chooseSuggest($event)" ng-click="search.showSuggests($event)"
                                   ng-focus="search.showSuggests($event, search.keyword)"/>
                            <button class="btn-stress" type="submit">搜 索</button>
                            
                        </form>
                        <div class="mapsearch-suggestlist ui-scrollbar-light">
                            
                        </div>


                        <!-- ngIf: search.resultshow && !hideSearchResult && mapMode -->
                    </div>
                    <iframe class = "iframe"  src="{{asset('/welcome_src/3')}}" frameBorder="0" width="730px" scrolling="auto" height="570px" ></iframe>
                </div>
                <div class="map-content"></div>
            </div>
            <div map-footer="" class="mapfooter">
                <div class="mapfooter-app">
                    <div class="mapfooter-app-image">
                        <img src="{{asset('home/disktop/images/appqc.95e532.png')}}"
                             alt="扫码下载 APP"/>
                        <span>扫码下载 APP</span>
                    </div>
                    <div class="mapfooter-app-text">
                        <p>新用户首次下单</p>
                        <strong>最高</strong>
                        <strong class="color-stress">立减20元</strong>
                        <p>立即下载APP，享更多优惠吧！</p>
                    </div>
                </div>
                <p class="mapfooter-link">
                    <a href="{{asset('')}}support/about" ubt-click="1435">联系我们</a> <a
                            href="{{asset('')}}support/about/agreement" ubt-click="1436">服务条款和协议</a> </p>
                <div class="footer-copyright serif">
                    增值电信业务许可证 :
                    <a  target="_blank">沪B2-20150033</a> |
                    <a target="_blank">沪ICP备 09007032</a> |
                    <a target="_blank">上海工商行政管理</a> Copyright &copy;2008-2016 ele.me, All Rights Reserved.
                </div>
                <div class="footer-police container">
                    <a rel="nofollow" target="_blank"><img
                                alt="已通过沪公网备案，备案号 310100103568" src="{{asset('home/disktop/images/picp_bg.e373b3.jpg')}}" height="30"/></a>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
$('.iframe').css('display','none');
    window.onload = function(){
        $('.mapcity-current').on('click',function(){
            $('.iframe').css('display','block');
        });

        $('.iframe').contents().find('.ccity').on('click',function(){
            var a = $(this).html();
            $('.mapcity-current').html(a);
            $('.hdcity').val(a);
        });

        $('.iframe').contents().find('.ng-pristine').on('focusout',function(){
            var b = $(this).val();
            $('.mapcity-current').html(b);
            $('.hdcity').val(b);
        })
        $(window).on('dblclick',function(){
             $('.iframe').css('display','none');
        })
        $('.ng-pristine').on('focus',function(){
            $('.iframe').css('display','none');
        })
        
    }

</script>
